<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
 <% 
response.setHeader("Pragma","No-cache"); 
response.setHeader("Cache-Control","no-cache"); 
response.setDateHeader("Expires", 0); 
%> 
 
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HMYUAN后台管理</title>
<meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="apple-mobile-web-app-status-bar-style" content="black"> 
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no">
  <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 
  <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> 
  <META HTTP-EQUIV="Expires" CONTENT="0">
  <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/layui.css">
  <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/global.css" media="all">
  <script src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
  <script src="//cdn.bootcss.com/jquery/1.12.0/jquery.min.js"></script>
  <script src="//cdn.bootcss.com/jquery.form/3.09/jquery.form.js"></script> 
  <style type="text/css">
  	#admin-home .layui-tab-close{
  		display: none;
  	}
  	.layui-nav-item a cite{padding: 0 5px;}
  	#demoTitle .layui-body{overflow: hidden;}
  	#demoTitle .layui-tab-item{height: 100%;}
  	.layui-side-scroll .layui-nav-item>a,.layui-nav-tree .layui-nav-title a,.layui-nav-tree .layui-nav-title a:hover {
	    background-color: #2B2E37!important;
	    color: #fff!important;
	    border-top: 1px #393d49 solid;
	}
	.roundimg{
	    border-radius: 100%;
	}
  </style>
</head>
<body>
<div class="layui-layout layui-layout-admin">
   <div class="layui-header header header-demo">
	  <div class="layui-main">
	  	<!-- logo -->
	    <a class="logo" href="" style="font-size: 32px;color: #fff;left: 10px;top: 15px;">
	      HMYUAN
	    </a>
	    <!-- 头部导航 -->
	    <ul class="layui-nav" pc style="padding-right: 10px;">
      		<li class="layui-nav-item">
		        <a href="javascript:;">
		        	<img class="roundimg" alt="" style="width: 40px;" src="${pageContext.request.contextPath}/static/img/userimg.png">
		        	${sessionScope.currentuser.username}
		        </a>
      			<dl class="layui-nav-child">
		          <dd><a href="javascript:void(0);" class="site-demo-active"  data-type="tabAdd" tab-id="currentuserPage"
		        		loadurl="${pageContext.request.contextPath}/back/sysuser/currentuserPage">用户信息</a></dd>
		          <dd><a href="javascript:void(0);"  onclick="loginOut();" target="_blank">退出登录</a></dd>
		        </dl>
      		</li>
	      	<%-- 
	      	<li class="layui-nav-item" pc>
		        <a href="javascript:;">
		        </a>
      			<dl class="layui-nav-child">
		          <dd><a href="javascript:void(0);" target="_blank">用户信息</a></dd>
		          <dd><a href="javascript:void(0);"  onclick="loginOut();" target="_blank">退出登录</a></dd>
		        </dl>
      		</li>
	      	<li class="layui-nav-item" mobile>
		        <a href="javascript:;"></a>
		        <dl class="layui-nav-child">
		          <dd><a href="javascript:void(0);" target="_blank">用户信息</a></dd>
		          <dd><a href="javascript:void(0);" target="_blank">退出登录</a></dd>
		        </dl>
	      	</li> --%>
    	</ul>
  	 </div>
  </div>
  <!-- 菜单 -->
  <div class="layui-side layui-bg-black">
     <div class="layui-side-scroll">
		<jsp:include page="/common/menu.jsp" flush="true"/>
     </div>
  </div>
  <div id="demoTitle" class="layui-tab layui-tab-brief" lay-filter="demoTitle" lay-allowClose="true">
	  <!-- tab -->
	  <ul class="layui-tab-title site-demo-title" style="z-index: 999;background-color: #fff;">
	      <li id="admin-home" lay-id="admin-home" class="layui-this">
		  	<i class="layui-icon">&#xe632;</i>
			<cite>首页</cite>
		  </li>
	  </ul>
	  <!-- content -->
	  <div class="layui-body layui-tab-content site-demo site-demo-body">
	      <div class="layui-tab-item layui-show">
	      	<iframe id="home" src="${pageContext.request.contextPath}/common/home.jsp"  frameborder=0 width="100%" height="100%"></iframe>
	      </div>
	  </div>
	  <div class="layui-footer footer footer-demo" style="background-color: #393d49;color:#fff;">
		  <div class="layui-main">
		    <p>2017 &copy; <a href="/" style="color:#fff;">hmyuan.com</a> All Rights Reserved &nbsp&nbsp京ICP备17007521号-1</p>
		  </div>
	  </div>
	  <div class="site-tree-mobile layui-hide">
		  <i class="layui-icon">&#xe602;</i>
	  </div>
	  <div class="site-mobile-shade"></div>
  </div>
  <script type="text/javascript">
  var contextPath = '${pageContext.request.contextPath}';
  </script>
  <script src="${pageContext.request.contextPath}/static/js/back/index.js"></script>
</body>
</html>